package com.hadwinling.startorder;

import org.apache.iotdb.session.Session;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @Classname RealTimeStartOrderFirst
 * @Description TODO
 * @Date 2021/7/12 17:45
 * @Created by
 */
@Component
//@Order(value = 1)
public class RealTimeStartOrderFirst implements ApplicationRunner {
    @Autowired
    private Session iotdbSession;


    @Override
    public void run(ApplicationArguments args) throws Exception {
//        System.out.println("删除root.dc_dx2");
//        iotdbSession.deleteStorageGroup("root.dc_dx2");
//        Thread.sleep(1000);
    }
}
